package cn.edu.cqupt.educationfoundation.votingsystem.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author :DengSiYuan
 * @date :2019/11/20 21:55
 * @desc :
 */
@Data
@ToString
public class UserDto {

    @NotNull(message = "用户唯一标识为空")
    @ApiModelProperty(name = "userId",value = "用户唯一标识")
    private Integer userId;
    @ApiModelProperty(name = "nickName",value = "微信名")
    private String nickName;
    @ApiModelProperty(name = "country",value = "国家",dataType = "string")
    private String country;
    @ApiModelProperty(name = "province",value = "省份",dataType = "string")
    private String province;
    @ApiModelProperty(name = "city",value = "城市",dataType = "string")
    private String city;
    @ApiModelProperty(name = "avatarUrl",value = "微信头像链接")
    private String avatarUrl;
    @ApiModelProperty(name = "gender",value = "微信登记性别")
    private Integer gender;
    @ApiModelProperty(name = "age",value = "年龄",dataType = "integer")
    private Integer age;


}
